<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
    Object obj = session.getAttribute("loginUser");
	String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
    if( null!=obj )
    {
    	Map map = (Map)obj;
    	//out.print(map.get("id"));
    	response.sendRedirect( basePath+ "service?p=sys&m=getRoleIdByUserId&userId="+map.get("id"));
    }	
%>
